@@ -12,16 +12,6 @@ Vagrant.configure("2") do |config|
|
||
| 12 | 12 |
chef.roles_path = "roles" |
| 13 | 13 |
chef.cookbooks_path = ["cookbooks", "site-cookbooks"] |
| 14 | 14 |
chef.add_role("huginn_development")
|
| 15 |
- chef.json = {
|
|
| 16 |
- "mysql"=> {
|
|
| 17 |
- "server_root_password" => "", |
|
| 18 |
- "server_repl_password" => "", |
|
| 19 |
- "server_debian_password"=> "" |
|
| 20 |
- }, |
|
| 21 |
- "nginx" => {
|
|
| 22 |
- 'init_style' => "upstart" |
|
| 23 |
- } |
|
| 24 |
- } |
|
| 25 | 15 |
end |
| 26 | 16 |
end |
| 27 | 17 |
|
@@ -8,6 +8,17 @@ |
||
| 8 | 8 |
|
| 9 | 9 |
"description" : "Huginn Development Environment", |
| 10 | 10 |
|
| 11 |
+"default_attributes" : {
|
|
| 12 |
+ "mysql" : {
|
|
| 13 |
+ "server_root_password" : "", |
|
| 14 |
+ "server_repl_password" : "", |
|
| 15 |
+ "server_debian_password" : "" |
|
| 16 |
+ }, |
|
| 17 |
+ "nginx" : {
|
|
| 18 |
+ "init_style" : "upstart" |
|
| 19 |
+ } |
|
| 20 |
+}, |
|
| 21 |
+ |
|
| 11 | 22 |
"run_list":[ |
| 12 | 23 |
"recipe[git]", |
| 13 | 24 |
"recipe[apt]", |